package com.etb.wisdom.eframe.model;

import javax.persistence.Entity;

import com.etb.core.annotation.Delete;
import com.etb.core.annotation.Delete.Type;
import com.etb.core.pojo.DataObject;

@Entity
public class OrgEmployee extends DataObject {

	private String orgid;
	
	private String positionid;
	
	private String empname;
	
	private String empcode;
	
	@Delete(deleteClass=EtbUser.class, cascadeField="loginname", type=Type.delete)
	private String userid;
	
	private String password;
	
	private String idtype;
	
	private String idno;
	
	private String gender;
	
	private String birthday;
	
	private String cellphone;
	
	private String email;

	public String getOrgid() {
		return orgid;
	}

	public void setOrgid(String orgid) {
		this.orgid = orgid;
	}

	public String getPositionid() {
		return positionid;
	}
	
	public void setPositionid(String positionid) {
		this.positionid = positionid;
	}
	
	public String getEmpname() {
		return empname;
	}

	public void setEmpname(String empname) {
		this.empname = empname;
	}

	public String getEmpcode() {
		return empcode;
	}

	public void setEmpcode(String empcode) {
		this.empcode = empcode;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getIdtype() {
		return idtype;
	}

	public void setIdtype(String idtype) {
		this.idtype = idtype;
	}

	public String getIdno() {
		return idno;
	}

	public void setIdno(String idno) {
		this.idno = idno;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
}
